package com.hanzidong.cms.dao;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.hanzidong.cms.entity.Article;
import com.hanzidong.cms.entity.User;

public interface ArticleMapper {

	boolean add(Article article);

	List<Article> articles(User user);

	Article getArticleById(Integer id);

	List<Article> list(Article article);

	boolean updateArticle(Article article);

	List<Article> listByHit(Article article);

}
